How have I reset my admin password on debian?
- Boot using debian netinst live USB, selecting “Rescue mode”.
- Select root partition when asked. /dev/sda6, for example. You should know this beforehand.
- Enter this command to set a new password: passwd username
- Reboot, login with new password.
- Enter this command to delete old keyring data: rm ~/.local/share/keyrings/login.keyring
Of course there are other ways to achieve this. I just wanted to share with you what I did.
Developing software, offering legal services, and gaming like it’s still the ’90s. LLM Exeter, PhD(c) in Private Int’l Law. Defender of Kaer Morhen.